
//  Copyright (C) 2007 Richard Uhler

//?d:Truncate an array with the length property
//?e:foobarsludgenick

foo = new Array("foo", "bar", "sludge", "nick", "nack", "fee", "fi", "fo");
foo.length = 4;
for (i = 0; i < foo.length; i++)
{
    print(foo[i]);
}

